package com.ccut.bits.security.dao;


import com.ccut.bits.annotation.mybatisScan;
import com.ccut.bits.model.Patent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@mybatisScan
public interface PatentDao {

    List<Patent> getPatentListPage(Patent patent);

    void addPatentInfo(Patent patent);

    void deletePatentById(@Param("id") int id);

    Patent getPatentById(@Param("id") int id);

    void updatePatentById(Patent patent);

}
